import React, {Component} from 'react'

export default class ArticleList extends Component{
    render(){
        const {increment, decrement,incrementAsync, z} = this.props;
        return (
            <div>
                <div>Result: {z}</div>
                <div>
                    <button onClick={increment}>+</button>
                    <button onClick={decrement}>-</button>
                    <button onClick={incrementAsync}>Async Add Artilce</button>
                </div>
            </div>
        )
    }
}